package com.yint.core;

import java.io.IOException;
import java.nio.channels.SelectionKey;

import com.yint.server.state.HandlerState;

public interface Handler {

	public void handle(SelectionKey selectedKey) throws IOException;
	
	public void changeState(HandlerState state);

	public void close();
}
